home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!usenet
- From: jtv@xs4all.nl (Jeroen T. Vermeulen)
- Newsgroups: comp.sys.amiga.misc
- Subject: Re: HELP!!! I have lots of questions!!!
- Date: Fri, 19 Apr 96 18:46:05
- Organization: Leiden University, Mathematics & Computer Science, The Netherlands
- Message-ID: <19960419.7B43258.10910@asd09-22.dial.xs4all.nl>
- References: <1996Apr16.201022.8024@opalo.etsiig.uniovi.es>
- NNTP-Posting-Host: asd09-22.dial.xs4all.nl
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-NewsSoftware: GRn 2.1 Feb 19, 1994
-
-
- In article <1996Apr16.201022.8024@opalo.etsiig.uniovi.es> u0866762@soneto.etsiig.uniovi.es (Isaac Ramos) writes:
-
- > ..-To copy recursively all the selected files to another
- > directory: " copy #?.info to dh3:t/ " I've read there is an
- > argument ALL to do this, but it doesn't work or I don't know how
- > to use it :-)
-
- The program will look *first* for names that match the wildcard pattern, and
- *then* see which are files and which are directories. Even if you use #?, Copy
- will still skip the directories. This can be changed by adding the ALL option;
- it will cause directories to be copied recursively, ie. with their complete
- contents.
-
-
- > ..-the same to compress with XPK all #?.doc recursively, without
- > compressing the #?.c for example. I could compress ALL the files
- > recursively, but I want to compress some and not ALL.
-
- You can't do this that easily. But if the directories don't have
- subdirectories, there's always the option to compress "#?.c" and "#?/#?.c". Or
- if there are subdirectories in the directories but they don't have
- subsubdirectories, compress "#?.c", "#?/#?.c" and "#?/#?/#?.c" et cetera.
-
- A more general trick is to tell List to find the files for you, and use its
- output to direct the real command. So let's say you're using a program called
- Pack:
-
- Pack `List dh0: PAT=#?.c LFORMAT="%p%n" ALL`
-
- Here List will find *all* the files on dh0: matching the pattern #?.c (PAT
- argument), in all dirs and subdirs etc. (ALL argument) and print them in the
- format "path/filename" (LFORMAT argument) so you get the names with complete
- paths, like you want them. To Pack it will appear as if you typed the names of
- all the .c files separately on the command line.
-
-
- > ..-Sometime ago, I heard of a program you can configure to tell
- > each program to compress with XPK automatically. A friend told me
- > that with that program, you could tell (for example CED) to save
- > direct into XPK. Do you know the program?
-
- There are several XPK filesystems; these let you define a partition or directory
- on your harddisk in which all files are automatically compressed and
- decompressed. Try XFH; I think there's an another called EPS.
-
-
- > Isaac Ramos
-
- --
- ============================================================================
- # Jeroen T. Vermeulen \"How are we doing kid?"/ Yes, we use Amigas. #
- #--- jtv@xs4all.nl ---\"Oh, same as always."/-- ... --#
- #jvermeul@wi.leidenuniv.nl \ "That bad, huh?" / Got a problem with that? #
- This sig is in beta test. Please report any bugs or suggested improvements.
-